package android.group.one;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class leve extends Activity  {
	private Button level1;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.level);
                
        level1 = (Button) findViewById(R.id.level1);
        level1.setText("level_1");
        level1.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                // Perform action on click
            	Intent myIntent = new Intent(v.getContext(), math.class);
            	myIntent.putExtra("result", level1.getText().toString());
            	startActivity(myIntent);
            }
        });
        
    }
}
